package com.example.demo.service;

import java.util.List;
import java.util.Map;

import com.example.demo.entity.TestDemo;

//资产表、产品存销表、收入表

public interface CaiwuService {
	
	public List<Map<String,Object>> getPrdCount(String year) throws Exception;
	
	//获取当年销量、产量和存量
	public Map<String,Object> getprdcountyear(String year) throws Exception;
	
	//获取当月销量、产量和存量
	public Map<String,Object> getprdcountmonth(String month) throws Exception;
	
	//获取当年资产、负债和所有者权益数据
	public List<Map<String,Object>> getAsset(String year) throws Exception;
	
	//获取某月资产、负债和所有者权益数据
	public Map<String,Object> getAssetMonth(String month) throws Exception;
	
	//获取当年营收、利润数据
	public List<Map<String,Object>> getEarn(String year) throws Exception;
	
	//获取某月营收、利润数据
	public Map<String,Object> getearnmonth(String month) throws Exception;
	
	//获取当年总营收和 总利润
	public Map<String,Object> getearnyear(String year) throws Exception;
	
	//获取累计总利润信息
	public Map<String,Object> getwholeearnyear() throws Exception;

	//获取用户信息
	public Map<String,Object> getuser(String username,String password) throws Exception;

}
